home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 44 / Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso / -in_the_mag- / basics / amos / amosiffaga.lha / Instructions.Txt < prev   
Text File  |  1998-05-14  |  6KB  |  165 lines

  1. File:        AmosIff2Aga.Lha
  2. Version:    1.0
  3. Purpose:    To import pictures into AMOS AGA
  4.  
  5. Author:         Andrew Igoe
  6. eMail:        thane@globalnet.co.uk
  7.  
  8. Distribution:    Public Domain
  9. Tech. Support:    via eMail
  10.  
  11.  
  12.                               AMOS AGA IFF 2 AGA
  13.  
  14. Introduction
  15. ------------
  16.  
  17. Up until now the excellent AMOS AGA would only allow you to plot, draw or bar
  18. graphics to the screen, which I think you will agree is rather limiting.  The
  19. purpose of this program is to import pictures into a format which AMOS AGA can
  20. read.
  21.  
  22. This program is merely version 1.0, and provided I get some positive interest
  23. there will be some newer versions which get over some of the limitations
  24. currently present.
  25.  
  26. Limitations
  27. -----------
  28.  
  29. You cannot however, due to limitations within AMOS itself, load actual AGA IFF
  30. pictures.  The conversion process provides a work around to this by letting you
  31. load in seperate Red, Green and Blue slides of your image in 32 colours, and
  32. remapping them to 256.  Unfortunately, due to the way AMOS works, the program
  33. is not able to load Ehb or HAM successfuly, although the pictures will load, on
  34. converting them to an AGA display the colours will appear very wrong indeed.  I
  35. hope to be able to work around this as an ideal solution to load a screen would
  36. be in HAM.
  37.  
  38. The program only supports lo-res PAL at the moment, 320x256.  If there are any
  39. NTSC users out there who would really like to have a copy of this program to
  40. work on their system then eMail me and if there are enough of you I will do so,
  41. but I wrote this program with myself in mind and being English I have PAL
  42. Amiga's.
  43.  
  44. How to convert an Image
  45. -----------------------
  46.  
  47. We'll start by loading up a lo-res 32 colour image and converting this for use
  48. in Amos AGA.
  49.  
  50. o    Click on Load IFF
  51.  
  52.     Then select a lo-res 32 colour picture.
  53.  
  54. o    Click Render AGA
  55.  
  56.     Your picture will appear line by line, but the colours seem wrong,
  57.     there are a number of ways to get around this.  You will have to wait
  58.     until the process is completely finished before continuing.  If you
  59.     have a slow Amiga - put the kettle on.
  60.  
  61. o    Click on Make Palette
  62.  
  63.     The screen will briefly flash a number of coloured bars then return to
  64.     the menu.  This process copies the pictures palette into the first 32
  65.     colours of the AGA palette.  Even if you only load a 16 colour image, the
  66.     program will copy 32 colours, you can see this clearer if you click
  67.     on...
  68.  
  69. o    Click on View Palette
  70.  
  71.     Each line of the display shows one palette colour, you will notice that
  72.     most of the screen is black, these are the colours which your picture has
  73.     not used.
  74.  
  75. o    Click Render AGA
  76.  
  77.     Now you should see a perfect reincarnation of your picture, but what if
  78.     you want to remap your picture to another palette, lets say to the default AMOS
  79.     AGA palette as used in the AGA Demo.
  80.  
  81. o    Load Iff, again
  82.  
  83.     Although our picture is loaded already, if you wish to ammend the
  84.     palette in any way after rendering, you will need to reload the picture, unless
  85.     you are not using any form of palette remap.
  86.  
  87. o    Click on Load Palette
  88.  
  89.     The palette format used in the program is different to the format used
  90.     by AMOS AGA, this is because I experienced a number of crashes using their
  91.     format.  Instead, I have provided two procedures for loading and saving
  92.     palettes in the source code.
  93.  
  94. o    Toggle Remap to Hue
  95.  
  96.     The saturation mode isn't that reliable for choosing the correct
  97.     colour, so we will remap using a Hue bias.  If you do not experience a good
  98.     result, try the Saturation mode instead.
  99.  
  100. The results arn't as good as some commercial programs granted, but they should
  101. suffice for the time being.  Of course, these pictures arn't really AGA,
  102. although they are in AGA format, they will be using at most only 32 colours.
  103.  
  104. To achieve true 256 colour pictures under AMOS AGA you need a little patience,
  105. even with this program.
  106.  
  107. First of all, load up an AGA art package and choose the picture you want to
  108. convert.
  109.  
  110. First of all, go through the ENTIRE palette and remove all the Green and the
  111. Blue, then save the file with a ".Red" extension.  Now reload the picture and
  112. repeat the process for both ".Green" and ".Blue".
  113.  
  114. You cannot short cut this process by simply remapping as the other two colours
  115. need to be REMOVED from the image, not simply remapped to a different hue at
  116. the same saturation.
  117.  
  118. Once this is done you will have to remap each "colour slide" to a 32 colour
  119. scale going from dark to full colour.  ie. the red picture should have colour 0
  120. as black and colour 31 as red 255, green 0, blue 0.
  121.  
  122. This takes time and requires patience and a lots of clicking in your art
  123. package.
  124.  
  125. Once your have your three colour slides, load them in using "Load RGB" and then
  126. click "Make Palette", if you have loaded an RGB picture set the function of
  127. Make Palette is slightly changed.  Using three 32 colour images there are
  128. 32,768 possible combinations of colour, if you have used more than 256 on your
  129. picture then the palette maker will cut short after doing the first 256, the
  130. first colour will always be black, the colours which are not added to the
  131. palette will be automatically remapped during rendering.
  132.  
  133. You can only view the Red frame with the View IFF feature, the green and blue
  134. will only be visible whilst loading.
  135.  
  136. Render AGA is also slightly different under RGB mode.  Remapping MUST always be
  137. done because although your picture may have only 256 colours, the program works
  138. in 15bit (32,768), if no form of remapping is selected then the program
  139. defaults to saturation remapping.
  140.  
  141. I have only tested the RGB feature with a very low number of colours as I
  142. didn't have the patience to strip the colour from a 256 colour picture.  If
  143. anyone experiences problems with this routine, please send your RGB slides to
  144. my eMail address and I will fix the problem.
  145.  
  146. What the future holds
  147. ---------------------
  148.  
  149. If there is enough interest in the program I will increase the supported
  150. graphics modes to Hires and Interlace.  I hope I will be able to convert Ehb's
  151. over but I know that HAM will not work.
  152.  
  153. As I have already stated, if I get enough requests I will write an NTSC
  154. version, otherwise - tough.
  155.  
  156. Known Bugs
  157. ----------
  158.  
  159. The program has a tendancy to crash if you try to view a palette or picture
  160. before one is loaded or rendered.  This is because I have included absolutely
  161. no error checking yet.
  162.  
  163.  
  164.  
  165.